lib/repofile: Follow symlinks for `g_file_read()`
authorColin Walters <walters@verbum.org>
Wed, 7 Jun 2017 19:25:21 +0000 (15:25 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 7 Jun 2017 20:54:32 +0000 (20:54 +0000)
commitd3900f90f4ca3fbded4ef5a75856dc9036037348
tree3e90dfc5c67e8cff41dfa87e13eb16a65d431740
parent807a804b1688db62ac552e58cabf55a55ca84071
lib/repofile: Follow symlinks for `g_file_read()`

This avoids `ostree cat /path/to/symlink` crashing, a longstanding embarassing
issue.

Closes: #915
Approved by: jlebon
src/libostree/ostree-repo-file.c
tests/basic-test.sh